package com.yudean.esb.domain.mds;

import java.io.Serializable;
import java.util.Date;

/**
 * MdsJeHeaders pojo类。
 *
 * @author 吕滨 代码生成工具v1.0
 * @version 1.0
 */
public class MdsJeHeaders implements Serializable {
    private static final long serialVersionUID = 4493479465853113236L;

    private Long ledgerId;

    private Long ledgerCoaId;

    private Long orgId;

    private String compCode;

    private Date creationDate;

    private Long createdBy;

    private Date lastUpdateDate;

    private Long lastUpdatedBy;

    private Long lastUpdateLogin;

    private Long jeBatchId;

    private Long jeHeaderId;

    private String batchName;

    private String headerName;

    private String jeCategory;

    private String userJeCategoryName;

    private String jeSource;

    private String userJeSourceName;

    private Long periodYear;

    private Date dateCreated;

    private String periodName;

    private String headerDesc;

    private Long docSequenceValue;

    private String currencyCode;

    private Date defaultEffectiveDate;

    private String attribute1;

    private String attribute2;

    private String attribute3;

    private String attribute4;

    private String attribute5;

    private String attribute6;

    private String attribute7;

    private String attribute8;

    private String attribute9;

    private String attribute10;

    public Long getLedgerId() {
        return ledgerId;
    }

    public void setLedgerId(Long ledgerId) {
        this.ledgerId = ledgerId;
    }

    public Long getLedgerCoaId() {
        return ledgerCoaId;
    }

    public void setLedgerCoaId(Long ledgerCoaId) {
        this.ledgerCoaId = ledgerCoaId;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public String getCompCode() {
        return compCode;
    }

    public void setCompCode(String compCode) {
        this.compCode = compCode;
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    public Long getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Long createdBy) {
        this.createdBy = createdBy;
    }

    public Date getLastUpdateDate() {
        return lastUpdateDate;
    }

    public void setLastUpdateDate(Date lastUpdateDate) {
        this.lastUpdateDate = lastUpdateDate;
    }

    public Long getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(Long lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Long getLastUpdateLogin() {
        return lastUpdateLogin;
    }

    public void setLastUpdateLogin(Long lastUpdateLogin) {
        this.lastUpdateLogin = lastUpdateLogin;
    }

    public Long getJeBatchId() {
        return jeBatchId;
    }

    public void setJeBatchId(Long jeBatchId) {
        this.jeBatchId = jeBatchId;
    }

    public Long getJeHeaderId() {
        return jeHeaderId;
    }

    public void setJeHeaderId(Long jeHeaderId) {
        this.jeHeaderId = jeHeaderId;
    }

    public String getBatchName() {
        return batchName;
    }

    public void setBatchName(String batchName) {
        this.batchName = batchName;
    }

    public String getHeaderName() {
        return headerName;
    }

    public void setHeaderName(String headerName) {
        this.headerName = headerName;
    }

    public String getJeCategory() {
        return jeCategory;
    }

    public void setJeCategory(String jeCategory) {
        this.jeCategory = jeCategory;
    }

    public String getUserJeCategoryName() {
        return userJeCategoryName;
    }

    public void setUserJeCategoryName(String userJeCategoryName) {
        this.userJeCategoryName = userJeCategoryName;
    }

    public String getJeSource() {
        return jeSource;
    }

    public void setJeSource(String jeSource) {
        this.jeSource = jeSource;
    }

    public String getUserJeSourceName() {
        return userJeSourceName;
    }

    public void setUserJeSourceName(String userJeSourceName) {
        this.userJeSourceName = userJeSourceName;
    }

    public Long getPeriodYear() {
        return periodYear;
    }

    public void setPeriodYear(Long periodYear) {
        this.periodYear = periodYear;
    }

    public Date getDateCreated() {
        return dateCreated;
    }

    public void setDateCreated(Date dateCreated) {
        this.dateCreated = dateCreated;
    }

    public String getPeriodName() {
        return periodName;
    }

    public void setPeriodName(String periodName) {
        this.periodName = periodName;
    }

    public String getHeaderDesc() {
        return headerDesc;
    }

    public void setHeaderDesc(String headerDesc) {
        this.headerDesc = headerDesc;
    }

    public Long getDocSequenceValue() {
        return docSequenceValue;
    }

    public void setDocSequenceValue(Long docSequenceValue) {
        this.docSequenceValue = docSequenceValue;
    }

    public String getCurrencyCode() {
        return currencyCode;
    }

    public void setCurrencyCode(String currencyCode) {
        this.currencyCode = currencyCode;
    }

    public Date getDefaultEffectiveDate() {
        return defaultEffectiveDate;
    }

    public void setDefaultEffectiveDate(Date defaultEffectiveDate) {
        this.defaultEffectiveDate = defaultEffectiveDate;
    }

    public String getAttribute1() {
        return attribute1;
    }

    public void setAttribute1(String attribute1) {
        this.attribute1 = attribute1;
    }

    public String getAttribute2() {
        return attribute2;
    }

    public void setAttribute2(String attribute2) {
        this.attribute2 = attribute2;
    }

    public String getAttribute3() {
        return attribute3;
    }

    public void setAttribute3(String attribute3) {
        this.attribute3 = attribute3;
    }

    public String getAttribute4() {
        return attribute4;
    }

    public void setAttribute4(String attribute4) {
        this.attribute4 = attribute4;
    }

    public String getAttribute5() {
        return attribute5;
    }

    public void setAttribute5(String attribute5) {
        this.attribute5 = attribute5;
    }

    public String getAttribute6() {
        return attribute6;
    }

    public void setAttribute6(String attribute6) {
        this.attribute6 = attribute6;
    }

    public String getAttribute7() {
        return attribute7;
    }

    public void setAttribute7(String attribute7) {
        this.attribute7 = attribute7;
    }

    public String getAttribute8() {
        return attribute8;
    }

    public void setAttribute8(String attribute8) {
        this.attribute8 = attribute8;
    }

    public String getAttribute9() {
        return attribute9;
    }

    public void setAttribute9(String attribute9) {
        this.attribute9 = attribute9;
    }

    public String getAttribute10() {
        return attribute10;
    }

    public void setAttribute10(String attribute10) {
        this.attribute10 = attribute10;
    }

    public String toString() {
        StringBuffer buf = new StringBuffer();
        buf.append("\r\nledgerId =" + this.ledgerId);
        buf.append("\r\nledgerCoaId =" + this.ledgerCoaId);
        buf.append("\r\norgId =" + this.orgId);
        buf.append("\r\ncompCode =" + this.compCode);
        buf.append("\r\ncreationDate =" + this.creationDate);
        buf.append("\r\ncreatedBy =" + this.createdBy);
        buf.append("\r\nlastUpdateDate =" + this.lastUpdateDate);
        buf.append("\r\nlastUpdatedBy =" + this.lastUpdatedBy);
        buf.append("\r\nlastUpdateLogin =" + this.lastUpdateLogin);
        buf.append("\r\njeBatchId =" + this.jeBatchId);
        buf.append("\r\njeHeaderId =" + this.jeHeaderId);
        buf.append("\r\nbatchName =" + this.batchName);
        buf.append("\r\nheaderName =" + this.headerName);
        buf.append("\r\njeCategory =" + this.jeCategory);
        buf.append("\r\nuserJeCategoryName =" + this.userJeCategoryName);
        buf.append("\r\njeSource =" + this.jeSource);
        buf.append("\r\nuserJeSourceName =" + this.userJeSourceName);
        buf.append("\r\nperiodYear =" + this.periodYear);
        buf.append("\r\ndateCreated =" + this.dateCreated);
        buf.append("\r\nperiodName =" + this.periodName);
        buf.append("\r\nheaderDesc =" + this.headerDesc);
        buf.append("\r\ndocSequenceValue =" + this.docSequenceValue);
        buf.append("\r\ncurrencyCode =" + this.currencyCode);
        buf.append("\r\ndefaultEffectiveDate =" + this.defaultEffectiveDate);
        buf.append("\r\nattribute1 =" + this.attribute1);
        buf.append("\r\nattribute2 =" + this.attribute2);
        buf.append("\r\nattribute3 =" + this.attribute3);
        buf.append("\r\nattribute4 =" + this.attribute4);
        buf.append("\r\nattribute5 =" + this.attribute5);
        buf.append("\r\nattribute6 =" + this.attribute6);
        buf.append("\r\nattribute7 =" + this.attribute7);
        buf.append("\r\nattribute8 =" + this.attribute8);
        buf.append("\r\nattribute9 =" + this.attribute9);
        buf.append("\r\nattribute10 =" + this.attribute10);

        return buf.toString();
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result
                + ((attribute1 == null) ? 0 : attribute1.hashCode());
        result = prime * result
                + ((attribute10 == null) ? 0 : attribute10.hashCode());
        result = prime * result
                + ((attribute2 == null) ? 0 : attribute2.hashCode());
        result = prime * result
                + ((attribute3 == null) ? 0 : attribute3.hashCode());
        result = prime * result
                + ((attribute4 == null) ? 0 : attribute4.hashCode());
        result = prime * result
                + ((attribute5 == null) ? 0 : attribute5.hashCode());
        result = prime * result
                + ((attribute6 == null) ? 0 : attribute6.hashCode());
        result = prime * result
                + ((attribute7 == null) ? 0 : attribute7.hashCode());
        result = prime * result
                + ((attribute8 == null) ? 0 : attribute8.hashCode());
        result = prime * result
                + ((attribute9 == null) ? 0 : attribute9.hashCode());
        result = prime * result
                + ((batchName == null) ? 0 : batchName.hashCode());
        result = prime * result
                + ((compCode == null) ? 0 : compCode.hashCode());
        result = prime * result
                + ((createdBy == null) ? 0 : createdBy.hashCode());
        result = prime * result
                + ((creationDate == null) ? 0 : creationDate.hashCode());
        result = prime * result
                + ((currencyCode == null) ? 0 : currencyCode.hashCode());
        result = prime * result
                + ((dateCreated == null) ? 0 : dateCreated.hashCode());
        result = prime
                * result
                + ((defaultEffectiveDate == null) ? 0 : defaultEffectiveDate
                .hashCode());
        result = prime
                * result
                + ((docSequenceValue == null) ? 0 : docSequenceValue.hashCode());
        result = prime * result
                + ((headerDesc == null) ? 0 : headerDesc.hashCode());
        result = prime * result
                + ((headerName == null) ? 0 : headerName.hashCode());
        result = prime * result
                + ((jeBatchId == null) ? 0 : jeBatchId.hashCode());
        result = prime * result
                + ((jeCategory == null) ? 0 : jeCategory.hashCode());
        result = prime * result
                + ((jeHeaderId == null) ? 0 : jeHeaderId.hashCode());
        result = prime * result
                + ((jeSource == null) ? 0 : jeSource.hashCode());
        result = prime * result
                + ((lastUpdateDate == null) ? 0 : lastUpdateDate.hashCode());
        result = prime * result
                + ((lastUpdateLogin == null) ? 0 : lastUpdateLogin.hashCode());
        result = prime * result
                + ((lastUpdatedBy == null) ? 0 : lastUpdatedBy.hashCode());
        result = prime * result
                + ((ledgerCoaId == null) ? 0 : ledgerCoaId.hashCode());
        result = prime * result
                + ((ledgerId == null) ? 0 : ledgerId.hashCode());
        result = prime * result + ((orgId == null) ? 0 : orgId.hashCode());
        result = prime * result
                + ((periodName == null) ? 0 : periodName.hashCode());
        result = prime * result
                + ((periodYear == null) ? 0 : periodYear.hashCode());
        result = prime
                * result
                + ((userJeCategoryName == null) ? 0 : userJeCategoryName
                .hashCode());
        result = prime
                * result
                + ((userJeSourceName == null) ? 0 : userJeSourceName.hashCode());
        return result;
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        MdsJeHeaders other = (MdsJeHeaders) obj;
        if (attribute1 == null) {
            if (other.attribute1 != null)
                return false;
        } else if (!attribute1.equals(other.attribute1))
            return false;
        if (attribute10 == null) {
            if (other.attribute10 != null)
                return false;
        } else if (!attribute10.equals(other.attribute10))
            return false;
        if (attribute2 == null) {
            if (other.attribute2 != null)
                return false;
        } else if (!attribute2.equals(other.attribute2))
            return false;
        if (attribute3 == null) {
            if (other.attribute3 != null)
                return false;
        } else if (!attribute3.equals(other.attribute3))
            return false;
        if (attribute4 == null) {
            if (other.attribute4 != null)
                return false;
        } else if (!attribute4.equals(other.attribute4))
            return false;
        if (attribute5 == null) {
            if (other.attribute5 != null)
                return false;
        } else if (!attribute5.equals(other.attribute5))
            return false;
        if (attribute6 == null) {
            if (other.attribute6 != null)
                return false;
        } else if (!attribute6.equals(other.attribute6))
            return false;
        if (attribute7 == null) {
            if (other.attribute7 != null)
                return false;
        } else if (!attribute7.equals(other.attribute7))
            return false;
        if (attribute8 == null) {
            if (other.attribute8 != null)
                return false;
        } else if (!attribute8.equals(other.attribute8))
            return false;
        if (attribute9 == null) {
            if (other.attribute9 != null)
                return false;
        } else if (!attribute9.equals(other.attribute9))
            return false;
        if (batchName == null) {
            if (other.batchName != null)
                return false;
        } else if (!batchName.equals(other.batchName))
            return false;
        if (compCode == null) {
            if (other.compCode != null)
                return false;
        } else if (!compCode.equals(other.compCode))
            return false;
        if (createdBy == null) {
            if (other.createdBy != null)
                return false;
        } else if (!createdBy.equals(other.createdBy))
            return false;
        if (creationDate == null) {
            if (other.creationDate != null)
                return false;
        } else if (!creationDate.equals(other.creationDate))
            return false;
        if (currencyCode == null) {
            if (other.currencyCode != null)
                return false;
        } else if (!currencyCode.equals(other.currencyCode))
            return false;
        if (dateCreated == null) {
            if (other.dateCreated != null)
                return false;
        } else if (!dateCreated.equals(other.dateCreated))
            return false;
        if (defaultEffectiveDate == null) {
            if (other.defaultEffectiveDate != null)
                return false;
        } else if (!defaultEffectiveDate.equals(other.defaultEffectiveDate))
            return false;
        if (docSequenceValue == null) {
            if (other.docSequenceValue != null)
                return false;
        } else if (!docSequenceValue.equals(other.docSequenceValue))
            return false;
        if (headerDesc == null) {
            if (other.headerDesc != null)
                return false;
        } else if (!headerDesc.equals(other.headerDesc))
            return false;
        if (headerName == null) {
            if (other.headerName != null)
                return false;
        } else if (!headerName.equals(other.headerName))
            return false;
        if (jeBatchId == null) {
            if (other.jeBatchId != null)
                return false;
        } else if (!jeBatchId.equals(other.jeBatchId))
            return false;
        if (jeCategory == null) {
            if (other.jeCategory != null)
                return false;
        } else if (!jeCategory.equals(other.jeCategory))
            return false;
        if (jeHeaderId == null) {
            if (other.jeHeaderId != null)
                return false;
        } else if (!jeHeaderId.equals(other.jeHeaderId))
            return false;
        if (jeSource == null) {
            if (other.jeSource != null)
                return false;
        } else if (!jeSource.equals(other.jeSource))
            return false;
        if (lastUpdateDate == null) {
            if (other.lastUpdateDate != null)
                return false;
        } else if (!lastUpdateDate.equals(other.lastUpdateDate))
            return false;
        if (lastUpdateLogin == null) {
            if (other.lastUpdateLogin != null)
                return false;
        } else if (!lastUpdateLogin.equals(other.lastUpdateLogin))
            return false;
        if (lastUpdatedBy == null) {
            if (other.lastUpdatedBy != null)
                return false;
        } else if (!lastUpdatedBy.equals(other.lastUpdatedBy))
            return false;
        if (ledgerCoaId == null) {
            if (other.ledgerCoaId != null)
                return false;
        } else if (!ledgerCoaId.equals(other.ledgerCoaId))
            return false;
        if (ledgerId == null) {
            if (other.ledgerId != null)
                return false;
        } else if (!ledgerId.equals(other.ledgerId))
            return false;
        if (orgId == null) {
            if (other.orgId != null)
                return false;
        } else if (!orgId.equals(other.orgId))
            return false;
        if (periodName == null) {
            if (other.periodName != null)
                return false;
        } else if (!periodName.equals(other.periodName))
            return false;
        if (periodYear == null) {
            if (other.periodYear != null)
                return false;
        } else if (!periodYear.equals(other.periodYear))
            return false;
        if (userJeCategoryName == null) {
            if (other.userJeCategoryName != null)
                return false;
        } else if (!userJeCategoryName.equals(other.userJeCategoryName))
            return false;
        if (userJeSourceName == null) {
            if (other.userJeSourceName != null)
                return false;
        } else if (!userJeSourceName.equals(other.userJeSourceName))
            return false;
        return true;
    }

}
